package de.jkoslows.ui.components;

import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.FlowLayout;

import javax.swing.JLabel;
import javax.swing.JPanel;

public class Toolbar extends JPanel {

	
	public Toolbar(JPanel parent) {
		this.setLayout(new FlowLayout());
		this.setVisible(true);
		parent.add(this, BorderLayout.SOUTH);
		this.setBackground(Color.WHITE);
		create();
	}

	public void create() {
		JLabel closeIcon = new JLabel("close");
		closeIcon.setVisible(true);
		//closeIcon.setIcon(new ImageIcon());
		this.add(closeIcon);
	}
}
